<?php
namespace App;
use GuzzleHttp;
use Ramsey\Uuid\Uuid;
class WechatPay
{
    public static function httpSend(){
        $client = new GuzzleHttp\Client();
        $res = $client->request('GET', 'http://127.0.0.1:8085');
        $log = new Log();
        $uuid = Uuid::uuid1();
        $log->Err(['data'=>$res->getBody()->getContents(),'request_id'=>$uuid->toString()]);
        return $res->getStatusCode();
    }
}